find the least positive value of k